package com.huoyun.order.service;

import java.util.List;

import com.huoyun.order.bean.OrderLog;
import com.huoyun.order.dao.OrderLogDao;

public class OrderLogServiceImpl implements OrderLogService {

	private OrderLogDao orderLogDao;
	
	@Override
	public void saveOrderLog(OrderLog orderLog) 
	{
		orderLogDao.saveOrderLog(orderLog);
	}

	@Override
	public List<OrderLog> queryList(long orderId) 
	{
		return orderLogDao.queryList(orderId);
	}

	@Override
	public OrderLog getOrderLogById(long orderLogId) 
	{
		return orderLogDao.getOrderLogById(orderLogId);
	}

	@Override
	public void delete(long orderLogId) 
	{
		orderLogDao.delete(orderLogId);
	}

	public OrderLogDao getOrderLogDao() {
		return orderLogDao;
	}

	public void setOrderLogDao(OrderLogDao orderLogDao) {
		this.orderLogDao = orderLogDao;
	}

}
